package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 税票收入对象 jyjc_import_spsr
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public class JyjcImportSpsr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    private String yf;

    /** 年月 */
    @Excel(name = "年月")
    private String yearyf;

    /** 编码 */
    @Excel(name = "会计科目代码")
    private String code;

    /** 名称 */
    @Excel(name = "会计科目名称")
    private String name;

    /** 部门代码 */
    @Excel(name = "部门代码")
    private String deptcode;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptname;

    /** 贷方 */
    @Excel(name = "贷方")
    private BigDecimal monery;

    /** 税金基数 */
    @Excel(name = "税金基数")
    private BigDecimal sjjs;

    /** 税金分摊数（计算得出） */
    @Excel(name = "税金分摊数", readConverterExp = "计=算得出")
    private BigDecimal sjfts;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    public void setYf(String yf) 
    {
        this.yf = yf;
    }

    public String getYf() 
    {
        return yf;
    }

    public void setYearyf(String yearyf) 
    {
        this.yearyf = yearyf;
    }

    public String getYearyf() 
    {
        return yearyf;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDeptcode(String deptcode) 
    {
        this.deptcode = deptcode;
    }

    public String getDeptcode() 
    {
        return deptcode;
    }

    public void setDeptname(String deptname) 
    {
        this.deptname = deptname;
    }

    public String getDeptname() 
    {
        return deptname;
    }

    public void setMonery(BigDecimal monery) 
    {
        this.monery = monery;
    }

    public BigDecimal getMonery() 
    {
        return monery;
    }

    public void setSjjs(BigDecimal sjjs) 
    {
        this.sjjs = sjjs;
    }

    public BigDecimal getSjjs() 
    {
        return sjjs;
    }

    public void setSjfts(BigDecimal sjfts) 
    {
        this.sjfts = sjfts;
    }

    public BigDecimal getSjfts() 
    {
        return sjfts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("yf", getYf())
            .append("yearyf", getYearyf())
            .append("code", getCode())
            .append("name", getName())
            .append("deptcode", getDeptcode())
            .append("deptname", getDeptname())
            .append("monery", getMonery())
            .append("sjjs", getSjjs())
            .append("sjfts", getSjfts())
            .toString();
    }
}
